<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
    <title><spring:message code="sys.user.updateuser" /></title>
    <meta name="decorator" content="form"/> 
    <html:component name="bootstrap-fileinput" />
</head>
<body class="white-bg"  formid="userForm">
<form:form id="userForm" modelAttribute="data" method="post" class="form-horizontal">
    <form:hidden path="id" />
    <table class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
        <tbody>
            <tr>
                <td class="width-15 active text-right">
                    <label><font color="red">*</font>分类名称:</label>
                </td>
                <td class="width-35">
                    <form:input path="name" class="form-control " datatype="*" nullmsg="请输入分类名称！" htmlEscape="false" />
                    <label class="Validform_checktip"></label>
                </td>
            </tr>
            <tr>
                <td class="width-15 active text-right">
                    <label><font color="red">*</font>分类描述:</label>
                </td>
                <td class="width-35">
                    <form:textarea path="description" rows="4" htmlEscape="false" class="form-control"  datatype="*"    />
                    <label class="Validform_checktip"></label>
                </td>
            </tr>
            <tr>
                <td class="width-15 active text-right">
                    <label><font color="red">*</font>排序:</label>
                </td>
                <td class="width-35">
                    <form:input path="sortCode" class="form-control " datatype="*" nullmsg="请输入序号！" htmlEscape="false" />
                    <label class="Validform_checktip"></label>
                </td>
            </tr>
            <tr>
                <td  class="width-15 active text-right">
                    <label><font color="red">*</font>是否显示:</label>
                </td>
                <td class="width-35">
                    <form:radiobuttons path="display" htmlEscape="false" class="form-control"  dict="sf"  datatype="*"  cssClass="i-checks required"   />
                    <label class="Validform_checktip"></label>
                </td>
            </tr>
            <tr>
                <td class="width-15 active">
                    <label class="pull-right">上级分类:</label></td>
                <td colspan="3">
                    <form:treeselect title="请选择分类" path="pid" nested="false" dataUrl="${adminPath}/shop/goodclass/treeData"  chkboxType="" labelName="parentname" labelValue="${organizationNames}" multiselect="false" /></td>
            </tr>
        </tbody>
    </table>
</form:form>
</body>
</html>